package com.sky.service.impl;

import com.sky.entity.DishFlavor;
import com.sky.mapper.DishFlavorMapper;
import com.sky.service.DishFlavorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DishFlavorServiceImpl implements DishFlavorService {

    @Resource
    private DishFlavorMapper dishFlavorMapper;
    /**
     * 添加菜品口味
     * @param dishFlavor1
     */
    @Override
    public void adddishFlavor(List<DishFlavor> dishFlavor1) {
        dishFlavorMapper.adddishFlavor(dishFlavor1);
    }
}
